#include <iostream>
using namespace std;
class Person
{
	friend ostream& operator<<(ostream & out, Person & p);
public:
	Person(){};
	~Person(){};
	int a;
	int b;
	
};
ostream& operator<<(ostream & out, Person & p)
{
	out<<"p.a = "<<p.a<<"\t"<<"p.b = "<<p.b;
	return cout;
}
int main(int argc, char const *argv[])
{
	Person p;
	p.a = 10;
	p.b = 20;
	cout<<p<<endl<<p<<endl;
	return 0;
}